package com.kaili.pojo.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author xujinghai
 * @since 2018-06-13
 */
@TableName("hs_opt_order")
public class HsOptOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单ID
     */
    @TableField("order_id")
    private BigDecimal orderId;
    /**
     * 电子商务物流交易号（等同于订单号）
     */
    @TableField("order_no")
    private String orderNo;
    /**
     * 电商ID
     */
    @TableField("ec_id")
    private BigDecimal ecId;
    /**
     * 运单号
     */
    @TableField("ewb_no")
    private String ewbNo;
    /**
     * 下单时间
     */
    @TableField("order_date")
    private Date orderDate;
    /**
     * 派送方式id
     */
    @TableField("pick_goods_mode_id")
    private Integer pickGoodsModeId;
    /**
     * 货物名称
     */
    @TableField("goods_name")
    private String goodsName;
    /**
     * 包装类型代码
     */
    @TableField("pack_type_code")
    private Integer packTypeCode;
    /**
     * 寄件网点id
     */
    @TableField("send_site_id")
    private Integer sendSiteId;
    /**
     * 目的网点id
     */
    @TableField("dispatch_site_id")
    private Integer dispatchSiteId;
    /**
     * 订单状态-1:撤销  0：等待接单  1：接单成功  2：接单失败  3：揽件成功  4：揽件失败  5：运输中  6：派件成功  7：派件失败
     */
    @TableField("order_status")
    private Integer orderStatus;
    /**
     * 总件数
     */
    @TableField("total_piece")
    private Integer totalPiece;
    /**
     * 重量
     */
    @TableField("total_weight")
    private BigDecimal totalWeight;
    /**
     * 总体积
     */
    @TableField("total_vol")
    private BigDecimal totalVol;
    /**
     * 取件开始时间
     */
    @TableField("take_start_date")
    private Date takeStartDate;

    /**
     * 取件结束时间
     */
    @TableField("take_end_date")
    private Date takeEndDate;
    /**
     * 预计费用
     */
    @TableField("freight_charge")
    private BigDecimal freightCharge;
    /**
     * 上门接货类型（1,需要上门接货0,客户自送）
     */
    @TableField("receive_flag")
    private Integer receiveFlag;
    /**
     * 开单标识
     */
    @TableField("ewb_flag")
    private Integer ewbFlag;
    /**
     * 收件业务员
     */
    @TableField("receive_employee_id")
    private Integer receiveEmployeeId;
    /**
     * 寄件公司名称
     */
    @TableField("send_company_name")
    private String sendCompanyName;
    /**
     * 寄件联系人
     */
    @TableField("send_link_man")
    private String sendLinkMan;
    /**
     * 寄件手机
     */
    @TableField("send_phone_sms")
    private String sendPhoneSms;
    /**
     * 寄件联系电话
     */
    @TableField("send_phone")
    private String sendPhone;
    /**
     * 寄件地址
     */
    @TableField("send_address")
    private String sendAddress;
    /**
     * 寄件邮编
     */
    @TableField("send_postcode")
    private String sendPostcode;
    /**
     * 寄件省份
     */
    @TableField("send_province")
    private String sendProvince;
    /**
     * 寄件省份id
     */
    @TableField("send_province_id")
    private Integer sendProvinceId;
    /**
     * 寄件城市
     */
    @TableField("send_city")
    private String sendCity;
    /**
     * 寄件城市id
     */
    @TableField("send_city_id")
    private Integer sendCityId;
    /**
     * 寄件区县
     */
    @TableField("send_county")
    private String sendCounty;
    /**
     * 寄件区县id
     */
    @TableField("send_county_id")
    private Integer sendCountyId;
    /**
     * 收件公司名称
     */
    @TableField("dispatch_company_name")
    private String dispatchCompanyName;
    /**
     * 收件联系人
     */
    @TableField("dispatch_link_man")
    private String dispatchLinkMan;
    /**
     * 收件手机
     */
    @TableField("dispatch_phone_sms")
    private String dispatchPhoneSms;
    /**
     * 收件联系电话
     */
    @TableField("dispatch_phone")
    private String dispatchPhone;
    /**
     * 收件地址
     */
    @TableField("dispatch_address")
    private String dispatchAddress;
    /**
     * 收件邮编
     */
    @TableField("dispatch_postcode")
    private String dispatchPostcode;
    /**
     * 收件省份
     */
    @TableField("dispatch_province")
    private String dispatchProvince;
    /**
     * 收件省份id
     */
    @TableField("dispatch_province_id")
    private Integer dispatchProvinceId;
    /**
     * 收件城市
     */
    @TableField("dispatch_city")
    private String dispatchCity;
    /**
     * 收件城市id
     */
    @TableField("dispatch_city_id")
    private Integer dispatchCityId;
    /**
     * 收件区县
     */
    @TableField("dispatch_county")
    private String dispatchCounty;
    /**
     * 收件区县id
     */
    @TableField("dispatch_county_id")
    private Integer dispatchCountyId;
    /**
     * 创建时间
     */
    @TableField("created_time")
    private Date createdTime;
    /**
     * 创建人
     */
    @TableField("created_by")
    private Integer createdBy;
    /**
     * 修改人
     */
    @TableField("modified_by")
    private Integer modifiedBy;
    /**
     * 修改时间
     */
    @TableField("modified_time")
    private Date modifiedTime;
    /**
     * 是否删除标识  1未删除  0 已删除
     */
    @TableField("rd_status")
    private Integer rdStatus;

    /**
     * 订单来源id
     */
    @TableField("source_id")
    private Integer sourceId;

    public Date getTakeStartDate() {
        return takeStartDate;
    }

    public void setTakeStartDate(Date takeStartDate) {
        this.takeStartDate = takeStartDate;
    }

    public Date getTakeEndDate() {
        return takeEndDate;
    }

    public void setTakeEndDate(Date takeEndDate) {
        this.takeEndDate = takeEndDate;
    }

    public Integer getSourceId() {
        return sourceId;
    }

    public void setSourceId(Integer sourceId) {
        this.sourceId = sourceId;
    }

    public BigDecimal getOrderId() {
        return orderId;
    }

    public void setOrderId(BigDecimal orderId) {
        this.orderId = orderId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public BigDecimal getEcId() {
        return ecId;
    }

    public void setEcId(BigDecimal ecId) {
        this.ecId = ecId;
    }

    public String getEwbNo() {
        return ewbNo;
    }

    public void setEwbNo(String ewbNo) {
        this.ewbNo = ewbNo;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public Integer getPickGoodsModeId() {
        return pickGoodsModeId;
    }

    public void setPickGoodsModeId(Integer pickGoodsModeId) {
        this.pickGoodsModeId = pickGoodsModeId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getPackTypeCode() {
        return packTypeCode;
    }

    public void setPackTypeCode(Integer packTypeCode) {
        this.packTypeCode = packTypeCode;
    }

    public Integer getSendSiteId() {
        return sendSiteId;
    }

    public void setSendSiteId(Integer sendSiteId) {
        this.sendSiteId = sendSiteId;
    }

    public Integer getDispatchSiteId() {
        return dispatchSiteId;
    }

    public void setDispatchSiteId(Integer dispatchSiteId) {
        this.dispatchSiteId = dispatchSiteId;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Integer getTotalPiece() {
        return totalPiece;
    }

    public void setTotalPiece(Integer totalPiece) {
        this.totalPiece = totalPiece;
    }

    public BigDecimal getTotalWeight() {
        return totalWeight;
    }

    public void setTotalWeight(BigDecimal totalWeight) {
        this.totalWeight = totalWeight;
    }

    public BigDecimal getTotalVol() {
        return totalVol;
    }

    public void setTotalVol(BigDecimal totalVol) {
        this.totalVol = totalVol;
    }

    public BigDecimal getFreightCharge() {
        return freightCharge;
    }

    public void setFreightCharge(BigDecimal freightCharge) {
        this.freightCharge = freightCharge;
    }

    public Integer getReceiveFlag() {
        return receiveFlag;
    }

    public void setReceiveFlag(Integer receiveFlag) {
        this.receiveFlag = receiveFlag;
    }

    public Integer getEwbFlag() {
        return ewbFlag;
    }

    public void setEwbFlag(Integer ewbFlag) {
        this.ewbFlag = ewbFlag;
    }

    public Integer getReceiveEmployeeId() {
        return receiveEmployeeId;
    }

    public void setReceiveEmployeeId(Integer receiveEmployeeId) {
        this.receiveEmployeeId = receiveEmployeeId;
    }

    public String getSendCompanyName() {
        return sendCompanyName;
    }

    public void setSendCompanyName(String sendCompanyName) {
        this.sendCompanyName = sendCompanyName;
    }

    public String getSendLinkMan() {
        return sendLinkMan;
    }

    public void setSendLinkMan(String sendLinkMan) {
        this.sendLinkMan = sendLinkMan;
    }

    public String getSendPhoneSms() {
        return sendPhoneSms;
    }

    public void setSendPhoneSms(String sendPhoneSms) {
        this.sendPhoneSms = sendPhoneSms;
    }

    public String getSendPhone() {
        return sendPhone;
    }

    public void setSendPhone(String sendPhone) {
        this.sendPhone = sendPhone;
    }

    public String getSendAddress() {
        return sendAddress;
    }

    public void setSendAddress(String sendAddress) {
        this.sendAddress = sendAddress;
    }

    public String getSendPostcode() {
        return sendPostcode;
    }

    public void setSendPostcode(String sendPostcode) {
        this.sendPostcode = sendPostcode;
    }

    public String getSendProvince() {
        return sendProvince;
    }

    public void setSendProvince(String sendProvince) {
        this.sendProvince = sendProvince;
    }

    public Integer getSendProvinceId() {
        return sendProvinceId;
    }

    public void setSendProvinceId(Integer sendProvinceId) {
        this.sendProvinceId = sendProvinceId;
    }

    public String getSendCity() {
        return sendCity;
    }

    public void setSendCity(String sendCity) {
        this.sendCity = sendCity;
    }

    public Integer getSendCityId() {
        return sendCityId;
    }

    public void setSendCityId(Integer sendCityId) {
        this.sendCityId = sendCityId;
    }

    public String getSendCounty() {
        return sendCounty;
    }

    public void setSendCounty(String sendCounty) {
        this.sendCounty = sendCounty;
    }

    public Integer getSendCountyId() {
        return sendCountyId;
    }

    public void setSendCountyId(Integer sendCountyId) {
        this.sendCountyId = sendCountyId;
    }

    public String getDispatchCompanyName() {
        return dispatchCompanyName;
    }

    public void setDispatchCompanyName(String dispatchCompanyName) {
        this.dispatchCompanyName = dispatchCompanyName;
    }

    public String getDispatchLinkMan() {
        return dispatchLinkMan;
    }

    public void setDispatchLinkMan(String dispatchLinkMan) {
        this.dispatchLinkMan = dispatchLinkMan;
    }

    public String getDispatchPhoneSms() {
        return dispatchPhoneSms;
    }

    public void setDispatchPhoneSms(String dispatchPhoneSms) {
        this.dispatchPhoneSms = dispatchPhoneSms;
    }

    public String getDispatchPhone() {
        return dispatchPhone;
    }

    public void setDispatchPhone(String dispatchPhone) {
        this.dispatchPhone = dispatchPhone;
    }

    public String getDispatchAddress() {
        return dispatchAddress;
    }

    public void setDispatchAddress(String dispatchAddress) {
        this.dispatchAddress = dispatchAddress;
    }

    public String getDispatchPostcode() {
        return dispatchPostcode;
    }

    public void setDispatchPostcode(String dispatchPostcode) {
        this.dispatchPostcode = dispatchPostcode;
    }

    public String getDispatchProvince() {
        return dispatchProvince;
    }

    public void setDispatchProvince(String dispatchProvince) {
        this.dispatchProvince = dispatchProvince;
    }

    public Integer getDispatchProvinceId() {
        return dispatchProvinceId;
    }

    public void setDispatchProvinceId(Integer dispatchProvinceId) {
        this.dispatchProvinceId = dispatchProvinceId;
    }

    public String getDispatchCity() {
        return dispatchCity;
    }

    public void setDispatchCity(String dispatchCity) {
        this.dispatchCity = dispatchCity;
    }

    public Integer getDispatchCityId() {
        return dispatchCityId;
    }

    public void setDispatchCityId(Integer dispatchCityId) {
        this.dispatchCityId = dispatchCityId;
    }

    public String getDispatchCounty() {
        return dispatchCounty;
    }

    public void setDispatchCounty(String dispatchCounty) {
        this.dispatchCounty = dispatchCounty;
    }

    public Integer getDispatchCountyId() {
        return dispatchCountyId;
    }

    public void setDispatchCountyId(Integer dispatchCountyId) {
        this.dispatchCountyId = dispatchCountyId;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Integer getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Integer createdBy) {
        this.createdBy = createdBy;
    }

    public Integer getModifiedBy() {
        return modifiedBy;
    }

    public void setModifiedBy(Integer modifiedBy) {
        this.modifiedBy = modifiedBy;
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public Integer getRdStatus() {
        return rdStatus;
    }

    public void setRdStatus(Integer rdStatus) {
        this.rdStatus = rdStatus;
    }

    @Override
    public String toString() {
        return "HsOptOrder{" +
                "orderId=" + orderId +
                ", orderNo='" + orderNo + '\'' +
                ", ecId=" + ecId +
                ", ewbNo='" + ewbNo + '\'' +
                ", orderDate=" + orderDate +
                ", pickGoodsModeId=" + pickGoodsModeId +
                ", goodsName='" + goodsName + '\'' +
                ", packTypeCode=" + packTypeCode +
                ", sendSiteId=" + sendSiteId +
                ", dispatchSiteId=" + dispatchSiteId +
                ", orderStatus=" + orderStatus +
                ", totalPiece=" + totalPiece +
                ", totalWeight=" + totalWeight +
                ", totalVol=" + totalVol +
                ", takeStartDate=" + takeStartDate +
                ", takeEndDate=" + takeEndDate +
                ", freightCharge=" + freightCharge +
                ", receiveFlag=" + receiveFlag +
                ", ewbFlag=" + ewbFlag +
                ", receiveEmployeeId=" + receiveEmployeeId +
                ", sendCompanyName='" + sendCompanyName + '\'' +
                ", sendLinkMan='" + sendLinkMan + '\'' +
                ", sendPhoneSms='" + sendPhoneSms + '\'' +
                ", sendPhone='" + sendPhone + '\'' +
                ", sendAddress='" + sendAddress + '\'' +
                ", sendPostcode='" + sendPostcode + '\'' +
                ", sendProvince='" + sendProvince + '\'' +
                ", sendProvinceId=" + sendProvinceId +
                ", sendCity='" + sendCity + '\'' +
                ", sendCityId=" + sendCityId +
                ", sendCounty='" + sendCounty + '\'' +
                ", sendCountyId=" + sendCountyId +
                ", dispatchCompanyName='" + dispatchCompanyName + '\'' +
                ", dispatchLinkMan='" + dispatchLinkMan + '\'' +
                ", dispatchPhoneSms='" + dispatchPhoneSms + '\'' +
                ", dispatchPhone='" + dispatchPhone + '\'' +
                ", dispatchAddress='" + dispatchAddress + '\'' +
                ", dispatchPostcode='" + dispatchPostcode + '\'' +
                ", dispatchProvince='" + dispatchProvince + '\'' +
                ", dispatchProvinceId=" + dispatchProvinceId +
                ", dispatchCity='" + dispatchCity + '\'' +
                ", dispatchCityId=" + dispatchCityId +
                ", dispatchCounty='" + dispatchCounty + '\'' +
                ", dispatchCountyId=" + dispatchCountyId +
                ", createdTime=" + createdTime +
                ", createdBy=" + createdBy +
                ", modifiedBy=" + modifiedBy +
                ", modifiedTime=" + modifiedTime +
                ", rdStatus=" + rdStatus +
                ", sourceId=" + sourceId +
                '}';
    }
}